# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.contrib import admin
from gitpub.models import  ProjectInfo,ServerInfo,HostInfo

# Register your models here.

class ProjectInfoAdmin(admin.ModelAdmin):
    list_display = ('id', 'ProJectName','ProPath','GitAddress')


class ServerInfoAdmin(admin.ModelAdmin):
    list_display = ('id', 'ServerIp')


class HostInfoAdmin(admin.ModelAdmin):
    list_display = ('id', 'ServerIp','HostName')

admin.site.register(ProjectInfo,ProjectInfoAdmin)
admin.site.register(ServerInfo, ServerInfoAdmin)
admin.site.register(HostInfo,HostInfoAdmin)